@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="feeInfoForm" >

            <input type="hidden" id="id" value="${item.id}">
            <input type="hidden" id="is_use" value="${item.isUse}">
            <input type="hidden" id="payments_type" value="${item.paymentsType}">
            <input type="hidden" id="is_waybill" value="${item.isWaybill}">
            <input type="hidden" id="use_object" value="${item.useObject}">


            <div class="row">
                <div class="col-sm-12 b-r">
                    <#input id="feeName" name="名称" value="${item.feeName}" underline="false"/>
                    <input type="hidden" id="useObject">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">事务对象</label>
                        <div class="col-sm-9" >
                            <input name='useObject'  type='radio' value='1'/><span>本地事务</span>
                            <input name='useObject'  type='radio' value='2'/><span>上游网点</span>
                            <input name='useObject'  type='radio' value='3'/><span>收货人</span>
                            <input name='useObject'  type='radio' value='4'/><span>中转网点</span>
                            <input name='useObject'  type='radio' value='5'/><span>司机</span>
                        </div>
                    </div>
                    <#select id="isUse" name="状态" underline="false">
                        <option value="0">启用</option>
                        <option value="1">未启用</option>
                    </#select>
                    <#select id="paymentsType" name="收支类型" underline="false">
                        <option value="">====请选择====</option>
                        <option value="1">收入</option>
                        <option value="2">支出</option>
                    </#select>
                    <#select id="isWaybill" name="运单相关" underline="false">
                        <option value="">====请选择====</option>
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </#select>
                    <#input id="mark" name="备注" value="${item.mark}" underline="false"/>
                </div>

            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="FeeInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="FeeInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/fee/fee_info.js"></script>
@}
